class ScriptToSave:
    """
    Represents a script test. Composed by a filename and a boolean that indicates if  
    this test is to be execetued or not.
    @author: Danilo Torres
    """
    
    def __init__(self, file, isSelected):
        """
        Initializes the ScriptToSave.
        """
        self.file = file
        self.selected = isSelected
    
    def getFile(self):
        """
        Returns the file correspondent to the script test.
        """
        return self.file
    
    def isSelected(self):
        """
        Returns True if this script test is selected to be executed, otherwise returns False.
        """
        return self.selected